package cn.darkhorse.meswechat.tasks;

import cn.darkhorse.meswechat.service.IWeChatService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @description:
 * @author: mr.wang
 * @time: 2023/4/18 8:48
 */
@Component("wxtasks")
public class WxTokenTask {

	@Resource
	private IWeChatService weChatService;
	
	
	/**
	 * 定时获取wx_token  1小时55分
	 */
	public void wxToken(){
		weChatService.getServerToken();
	}





}
